<div class="member-main">
<div class="title title2">退款退货管理</div>
<div id="tab-dlycorp" class="section switch">
<ul class="switchable-triggerBox tab_member clearfix">
      <li class="active"><a href="#"><{t}>我发起的退款<{/t}></a></li>
</ul>



<table width="100%" cellpadding="3" cellspacing="0" class="gridlist border-all gridlist_member border-top-0">

<thead>
	<tr>
		<th class="first"><{t}>订单号<{/t}></th>
        <th><{t}>申请人<{/t}></th>
		<th><{t}>申请时间<{/t}></th>
	 	<th><{t}>处理状态<{/t}></th>
        <th><{t}>操作<{/t}></th>
	</tr>
</thead>
<tbody>
<{if count($return_list)>0 }>
<{foreach from=$return_list item="return_item" name=return_list}>
<tr>
	<td><a href="<{link app=aftersales ctl=site_member act=return_details arg0=$return_item.return_id}>" class="font-blue"><{$return_item.order_id}></a></td>
    <td class="textcenter"><{$return_item.uname}></td>
	<td class="textcenter"><{$return_item.add_time|cdate:'FDATE_FTIME'}></td>
    <td class="textcenter">
        <{if $return_item.is_intervene == '1'}>
            <{if $return_item.status == 1}><{t}>退款协议等待卖家确认<{/t}>
            <{elseif $return_item.status == 2}><{t}>审核中<{/t}>
            <{elseif $return_item.status == 3}><{t}>审核通过<{/t}>
            <{elseif $return_item.status == 4}><{t}>完成<{/t}>
            <{elseif $return_item.status == 5}><{t}>审核未通过<{/t}>
            <{elseif $return_item.status == 6}><{t}>已退款<{/t}>
            <{elseif $return_item.status == 10}><{t}>已取消<{/t}>
            <{elseif $return_item.status == 11}><{t}>待修改<{/t}>
            <{elseif $return_item.status == 12}><{t}>买家已退货，等待卖家确认<{/t}>
            <{elseif $return_item.status == 13}><{t}>已修改<{/t}>
            <{elseif $return_item.status == 14}><{t}>卖家收到退货，拒绝退款<{/t}>
            <{elseif $return_item.status == 15}><{t}>卖家同意退款，等待卖家打款至平台<{/t}>
            <{elseif $return_item.status == 16}><{t}>卖家已退款，等待系统结算<{/t}>
            <{/if}>
        <{elseif $return_item.is_intervene == '2'}>
            <{t}>申请平台介入中，等待卖家举证<{/t}>
        <{elseif $return_item.is_intervene == '3'}>
            <{t}>平台处理中<{/t}>
        <{else}>
            <{t}>平台已处理<{/t}>
        <{/if}>
    </td>
    <td class="textcenter">
        <{if $return_item.is_intervene == '1'}>
            <{if $return_item.status == 3 && $return_item.refund_type == '2'}><a href="<{link app=aftersales ctl=site_member act=refund_add_buyer arg0=$return_item.order_id}>" class="font-blue">填写退货信息</a>
            <{elseif $return_item.status == 14 && $return_item.refund_type == '2'}><a href="<{link app=aftersales ctl=site_member act=edit_refund_app arg0=$return_item.order_id}>" class="font-blue">修改</a>
            <{elseif $return_item.status == 11 && $return_item.refund_type == '2'}><a href="<{link app=aftersales ctl=site_member act=edit_refund_2 arg0=$return_item.order_id}>" class="font-blue">修改</a>
            <{elseif $return_item.status == 11 && $return_item.refund_type != '2'}><a href="<{link app=aftersales ctl=site_member act=edit_refund arg0=$return_item.order_id}>" class="font-blue">修改</a>
            <{else}><a href="<{link app=aftersales ctl=site_member act=return_details arg0=$return_item.return_id}>" class="font-blue">查看</a>
            <{/if}>
        <{else}>
            <a href="<{link app=aftersales ctl=site_member act=return_details arg0=$return_item.return_id}>" class="font-blue">查看</a>
        <{/if}>
    </td>
</tr>
<{/foreach}>
<{else}>
<td colspan="5"><{t}>您还没有提交过售后服务信息，如果您购买的商品需要退换货/维修等服务，您可以去我的订单进行退货申请！<{/t}></td>
<{/if}>
</tbody>
</table>
<{pagers data=$pager}>


</div>
</div>
